package com.sgzn.sgpay.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 登录状态
 * @author zhongzhongyong
 * @version Id: LoginStat.java, v 0.1 2018/4/8 23:07 zhongzhongyong Exp $$
 */
@ToString
public enum LoginStat {

    SUCCESS("0", "登录成功"),
    FAIL("1", "登录失败");

    @Getter
    private String code;

    @Getter
    private String desc;

    private LoginStat(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
